//
//  ActionDetailView.swift
//  Motion
//
//  Created by 悦月越悦 on 2021/3/24.
//

import SwiftUI
import Parma

struct ActionDetailView: View{
    
    @ObservedObject var detailViewModel : ActionDetailModel
    
    var body: some View {
        VStack{
            Parma(detailViewModel.curDetail?.intro ?? "")
            ActionDetailControl()
                .environmentObject(detailViewModel)
        }
    }
}

//struct ActionDetailView_Previews: PreviewProvider {
//    static var previews: some View {
//        ActionDetailView()
//    }
//}
